package com.nuoniu.sibanyun.service.work;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nuoniu.sibanyun.entity.work.WorkReportForm;

import java.text.ParseException;


/**
 * <p>
 * 工作报表 服务类
 * </p>
 *
 * @author baiqiang
 * @since 2020-08-14
 */
public interface IWorkReportFormService extends IService<WorkReportForm> {

    /**
     * 分页获取报表列表
     * @author 小啊刚
     * @date 2020-08-14
     */
    Page<WorkReportForm> pageList(Page page, WorkReportForm reportForm);

    /**
     * 撤回报表
     * @author 小啊刚
     * @date 2020-08-26
     */
    void returnReportForm(WorkReportForm reportForm);

    /**
     * 提交报表
     * @author 小啊刚
     * @date 2021-08-31
     */
    void submitReportForm(WorkReportForm reportForm) throws ParseException;

    /**
     * 保存报表
     * @author 小啊刚
     * @date 2021-08-31
     */
    void saveReportForm(WorkReportForm reportForm) throws ParseException;
}
